package com.cykj.admin.mapper;

import com.cykj.admin.vo.VipRuleVO;
import com.cykj.common.entity.RoleDO;
import com.cykj.common.entity.VipDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @BelongsProject: smart_recruit_backend
 * @BelongsPackage: com.cykj.admin.mapper
 * @Author: 小小卢
 * @CreateTime: 2025-08-18 15:15
 * @Description: TODO
 */
@Mapper
public interface VipRuleMapper {

    /**
    * @Description: 查询VIP规则
    * @Param: []
    * @return: java.util.List<com.cykj.common.entity.VipDO>
    */
    List<VipDO> selectVipRuleList(@Param("vipRuleVO") VipRuleVO vipRuleVO);

    /**
    * @Description: 修改vip规则
    * @Param: [vipRuleVO]
    * @return: java.lang.Integer
    */
    Integer updateVipRule(@Param("vipRuleVO") VipRuleVO vipRuleVO);

    /**
    * @Description: 删除vip规则
    * @Param: [vipRuleVO]
    * @return: java.lang.Integer
    */
    Integer deleteVipRule(@Param("vipId") Integer vipId);

    /**
    * @Description: 新增vip规则
    * @Param: [vipRuleVO]
    * @return: com.cykj.common.entity.RoleDO
    */
    Integer addVipRule(@Param("vipRuleVO") VipRuleVO vipRuleVO);
}
